<template>
  <div class="topR">
    <div v-if="$i18n.locale === 'zh_CN'">
      <Tag color="success" v-if="status == 0">待分配</Tag>
      <Tag color="success" v-if="status == 1">点检中</Tag>
      <Tag color="success" v-if="status == 2">已结单</Tag>
      <Tag color="success" v-if="status == 3">已过期</Tag>
      <!-- <Tag color="success" v-if="status == 6">维修中</Tag>
      <Tag color="success" v-if="status == 7">待验收</Tag>
      <Tag color="success" v-if="status == 8">已结单</Tag>
      <Tag color="success" v-if="status == 10">升级中</Tag> -->
    </div>
    <div v-if="$i18n.locale === 'en_US'">
      <Tag v-if="status == 0 || status == 2"></Tag>
      <Tag v-if="status == -1"></Tag>
      <Tag v-if="status == 1"></Tag>
      <Tag v-if="status == 4"></Tag>
      <Tag v-if="status == 5"></Tag>
    </div>
  </div>
</template>

<script>
export default {
  name: "orderStatusIcon",
  props: ['status']
}
</script>